package com.lun.blog.service;

import com.lun.blog.pojo.User;

import java.util.List;
import java.util.Set;

public interface UserService {

    /**
     * 检查数据库是否存在当前登录用户
     * @param username
     * @param password
     * @return
     */
    public User checked(String username,String password);

    User findByUserId(Long userId);

    List<User> findByUserIds(Set<Long> userId);
}
